package com.yylc.cscore.dao;

import com.yylc.cscore.entity.TaskTypeEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author xiangnan
 * date 2018/5/3
 */
@Mapper
public interface TaskTypeDao {

    TaskTypeEntity select(@Param("taskCode") String taskCode);

    /**
     * 按照任务类型优先级排列
     */
    List<TaskTypeEntity> selectList();

    List<TaskTypeEntity> selectPageList(@Param("start") int start, @Param("size") int size);

    int selectPageListCount();

}
